package cn.wolfcode.service;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.qo.EmployeeQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeService {
    void deleteByPrimaryKey(Long id);

    void insert(Employee employee);

    Employee selectByPrimaryKey(Long id);

    List<Employee> selectAll();

    void update(Employee employee);

    PageInfo<Employee> query(EmployeeQueryObject qo);
}
